<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>发射站所属组配置管理</title>
	<meta name="decorator" content="nblank"/>
</head>
<body>
<div class="content container">
	<h2 class="page-title">发射站所属组配置管理<small>&nbsp;&nbsp;发射站所属组配置列表</small></h2>
	<section class="widget widget-tabs widget-table-overflow ">
		<header>
			<ul class="nav nav-tabs">
				<li><a href="${ctx}/biz/sgroup/sgroup">发射站列表</a></li>
				<li><a href="${ctx}/biz/sgroup?station.id=${station.id}">组列表&nbsp;(${station.name})</a>
				<li class="active"><a href="javascript:void(0)">组配置列表&nbsp;(${station.name})</a></li>
				<%--<li class="active"><a href="${ctx}/biz/sgcfg?sgroupId=${cfg2.sgroup.id}&itemId=${cfg2.gitem.id}&groupId=${cfg2.group.id}&stationId=${station.id}">组配置列表&nbsp;(${station.name})</a></li>--%>
			</ul>
		</header>
		<%--<biz:message content="${message}"/>--%>
		<div class="body tab-content">
			<table id="contentTable" class="table table-striped table-condensed">
				<tr><th>设备名</th><th>IP端口</th><th>设备型号名</th><th>备用参数1</th><th>备用参数2</th><th>操作</th></tr>
				<c:forEach items="${list}" var="cfg2">
					<tr>
						<td>${cfg2.gitem.name}</td>
						<td>${cfg2.sgcfg.ipPort}</td>
						<td>${cfg2.modelName}</td>
						<td>${cfg2.sgcfg.other1}</td>
						<td>${cfg2.sgcfg.other2}</td>
						<td>
							<a href="${ctx}/biz/sgcfg/form?sgroupId=${cfg2.sgroup.id}&groupId=${cfg2.group.id}&gitemId=${cfg2.gitem.id}&stationId=${station.id}">${cfg2.sgcfg.id != null?'修改': '配置'}</a>
						</td>
					</tr>
				</c:forEach>
			</table>
		</div>
	</section>
</div>
</body>
</html>